package o2o.service.delivery.to;


/**
 * @author Jahnke【1029777564@qq.com】
 * @ClassName DeliveryFeeTO
 * @Description:
 * @date 2019/12/25 16:20
 * @Version 1.0
 */
public class DeliveryFeeTO {

    private String deliveryNo;          // 配送订单号
    private Double fee;                 // 实际运费(单位：元)，运费减去优惠券费用
    private Double deliverFee;          // 运费（元）
    private Double distance;            // 距离（米）
    private Double insuranceFee;        // 保价费(单位：元)
    private Integer state = 0;           // 状态  1-获取成功  2-错误
    private String error;                // 提示信息

    public String getDeliveryNo() {
        return deliveryNo;
    }

    public DeliveryFeeTO setDeliveryNo(String deliveryNo) {
        this.deliveryNo = deliveryNo;
        return this;
    }

    public Double getFee() {
        return fee;
    }

    public DeliveryFeeTO setFee(Double fee) {
        this.fee = fee;
        return this;
    }

    public Double getDeliverFee() {
        return deliverFee;
    }

    public DeliveryFeeTO setDeliverFee(Double deliverFee) {
        this.deliverFee = deliverFee;
        return this;
    }

    public Double getDistance() {
        return distance;
    }

    public DeliveryFeeTO setDistance(Double distance) {
        this.distance = distance;
        return this;
    }

    public Double getInsuranceFee() {
        return insuranceFee;
    }

    public DeliveryFeeTO setInsuranceFee(Double insuranceFee) {
        this.insuranceFee = insuranceFee;
        return this;
    }

    public Integer getState() {
        return state;
    }

    public DeliveryFeeTO setState(Integer state) {
        this.state = state;
        return this;
    }

    public String getError() {
        return error;
    }

    public DeliveryFeeTO setError(String error) {
        this.error = error;
        return this;
    }
}
